package com.felix.datasources;

import com.zaxxer.hikari.HikariDataSource;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * DataSourcesProperties
 *
 * @author: xuejinhua
 * @date: 2018/8/2 21:27
 */
@Component
@Data
@ConfigurationProperties(prefix = "hikari")
public class DataSourcesProperties {
    private HikariDataSource master;
    private HikariDataSource slave;
}
